from django.urls import path
from apps.actions.views import (
    ActionRecommendAPIView,
    RedEnvelopCreateAPIView,
    RedEnvelopSendRecordsAPIView,
    RedEnvelopReceiveAPIView,
    RedEnvelopInfoAPIView,
    RedEnvelopChallengeAPIView,
)

urlpatterns = [
    path(r"actions/recommend", ActionRecommendAPIView.as_view(), name="actions_recommend"),
    path(r'actions/red-pkg/create', RedEnvelopCreateAPIView.as_view(), name="actions_red-pkg_create"),
    path(r'actions/red-pkg/send', RedEnvelopSendRecordsAPIView.as_view(), name="actions_red-pkg_send"),
    path(r'actions/red-pkg/receive', RedEnvelopReceiveAPIView.as_view(), name="actions_red-pkg_receive"),
    path(r'actions/red-pkg/<uuid>/info', RedEnvelopInfoAPIView.as_view(), name="actions_red-pkg_receive"),
    path(r'actions/red-pkg/chanllenge', RedEnvelopChallengeAPIView.as_view(), name="actions_red-pkg_receive"),
]
